
<include file="__THEME__/header" />

<link href="../Public/notify.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../Public/msg.js"></script> 
<link href="__PUBLIC__/js/pagination/pagination.css" rel="stylesheet" type="text/css" />
<div class="content"><!-- 内容 begin  -->
    <include file="__THEME__/apps" />
    <div class="main"><!-- 画布 begin  -->


        <div class=page_title> <!-- page_title begin -->
            <h2><img src="../Public/images/mail_send.gif" />消息</h2>
        <div class="c"></div>
</div><!-- page_title end -->
        <div class="tab-menu"><!-- 切换标签 begin  -->
            <ul>
                <li><a href="__URL__/inbox"><span>收件箱</span></a></li>
                <li><a href="__URL__/send" class="on"><span>发件箱</span></a></li>
                <li><a href="__URL__/index"><span>通知</span></a></li>
                <li><a href="__URL__/write"><span><div class="ico_add">&nbsp;</div>写短消息</span></a></li>
            </ul>
        </div><!-- 切换标签 end  -->

        <div class="MessageBox">
            <div class="MList border" style="width:830px;"><!-- 发件箱 begin  -->
                <div class="MenuSub pl5"><label for="message_selector">选择:</label>
                    <select id="message_selector2" name="message_selector2" onchange="select_change(this)" class="mt5">
                        <option selected="selected" value="^_^">---</option>
                        <option value="unAll">不选</option>
                        <option value="read">已读</option>
                        <option value="unread">未读</option>
                        <option value="all">全部</option>
                    </select>
                <a href="javascript:del_some();" class="cGray2 bj_all">删除</a></div>

                <div class="alC f14px" <php>if($msgs){ echo 'style="display:none"'; }</php>><!-- 没有发信要显示的内容 -->
                    <p>当前没有任何站内信~ </p>
                    <p><a href="__URL__/write">写站内信</a></p>
                </div><!-- 没有发信要显示的内容 end-->


                <span <php>if(!$msgs){ echo 'style="display:none"'; }</php> >
                  <div class="cGray lh25 btmline pl5">共{$count}条</div>
                    <div>
                        <table width="100%" border="0" cellspacing="0" cellpadding="3">
                            <volist name="msgs" id="msg">
                                <tr id="msg_{$msg.id}">
                                    <td width="48" align="center" class="btmline">
                                        <input type="checkbox" name="checkbox" id="checkbox" value="{$msg.id}" class='checkbox read' />
                                    </td>
                                    <td width="70" class="btmline"><a href="__APP__/space/{$msg.toUserId}"><img src="{$msg.toUserId|getUserFace}" width="50" height="50" /></a></td>
                                    <td width="184" class="btmline">至：<a href="__APP__/space/{$msg.toUserId}">{$msg.toUserId|getUserName}</a><br />
                                    {$msg.cTime|friendlyDate="full"} </td>
                                    <td width="473" class="btmline"><a href="__URL__/msg/t/send/lid/{$msg['id']}/id/<php> if($msg['replyMsgId'] == 0){ echo $msg['id']; }else{ echo $msg['replyMsgId']; } </php> ">{$msg.subject}</a> <br />
                                    {$msg.content}
                                    <a href="#nogo"></a></td>
                                    <td width="60" class="btmline"><a href="javascript:del_msg({$msg.id})">删除</a></td>
                                </tr>
                            </volist>
                        </table>
                    </div>
                    <div class="cGray lh25 pl5">共{$count}条</div>
                </span>
        <div id="Pagination" class="pagination">{$page}</div>

            </div><!-- 收件箱 end  -->
        </div>






    </div><!-- 画布 end  -->
  <div class="c"></div>
</div><!-- 内容 end -->
<include file="__THEME__/footer" />
